PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Growth / suksma - cake anyone.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.575 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=2 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.800 |
| 26 | fWaveScale=0.000 |
| 27 | fWaveSmoothing=0.750 |
| 28 | fWaveParam=0.260 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.07830 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=0.000 |
| 60 | nMotionVectorsY=0.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=1.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=4 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=1 |
| 131 | shapecode_0_textured=1 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.750 |
| 134 | shapecode_0_y=0.260 |
| 135 | shapecode_0_rad=0.99595 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=0.000 |
| 141 | shapecode_0_b=0.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=0.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.100 |
| 151 | shape_0_init1=ang = 0; |
| 152 | shape_0_per_frame1=vol=bass+mid+treb; |
| 153 | shape_0_per_frame2=ang = q1; |
| 154 | shape_0_per_frame3=bsides = 3 + int(6 * vol); |
| 155 | shape_0_per_frame4=x = .25+vol; |
| 156 | shape_0_per_frame5=y = vol-.25; |
| 157 | shapecode_1_enabled=1 |
| 158 | shapecode_1_sides=4 |
| 159 | shapecode_1_additive=0 |
| 160 | shapecode_1_thickOutline=1 |
| 161 | shapecode_1_textured=1 |
| 162 | shapecode_1_num_inst=1 |
| 163 | shapecode_1_x=0.250 |
| 164 | shapecode_1_y=0.250 |
| 165 | shapecode_1_rad=0.99595 |
| 166 | shapecode_1_ang=0.00000 |
| 167 | shapecode_1_tex_ang=0.00000 |
| 168 | shapecode_1_tex_zoom=1.00000 |
| 169 | shapecode_1_r=1.000 |
| 170 | shapecode_1_g=0.000 |
| 171 | shapecode_1_b=0.000 |
| 172 | shapecode_1_a=1.000 |
| 173 | shapecode_1_r2=0.000 |
| 174 | shapecode_1_g2=1.000 |
| 175 | shapecode_1_b2=0.000 |
| 176 | shapecode_1_a2=0.000 |
| 177 | shapecode_1_border_r=1.000 |
| 178 | shapecode_1_border_g=1.000 |
| 179 | shapecode_1_border_b=1.000 |
| 180 | shapecode_1_border_a=0.100 |
| 181 | shape_1_init1=ang = 0; |
| 182 | shape_1_per_frame1=vol=bass+mid+treb; |
| 183 | shape_1_per_frame2=ang = q3; |
| 184 | shape_1_per_frame3=bsides = 3 + int(6 * vol); |
| 185 | shape_1_per_frame4=x = .25-vol; |
| 186 | shape_1_per_frame5=y = .75-vol; |
| 187 | shapecode_2_enabled=1 |
| 188 | shapecode_2_sides=4 |
| 189 | shapecode_2_additive=0 |
| 190 | shapecode_2_thickOutline=1 |
| 191 | shapecode_2_textured=1 |
| 192 | shapecode_2_num_inst=1 |
| 193 | shapecode_2_x=0.250 |
| 194 | shapecode_2_y=0.750 |
| 195 | shapecode_2_rad=0.99595 |
| 196 | shapecode_2_ang=0.00000 |
| 197 | shapecode_2_tex_ang=0.00000 |
| 198 | shapecode_2_tex_zoom=2.30672 |
| 199 | shapecode_2_r=1.000 |
| 200 | shapecode_2_g=0.000 |
| 201 | shapecode_2_b=0.000 |
| 202 | shapecode_2_a=1.000 |
| 203 | shapecode_2_r2=0.000 |
| 204 | shapecode_2_g2=1.000 |
| 205 | shapecode_2_b2=0.000 |
| 206 | shapecode_2_a2=0.000 |
| 207 | shapecode_2_border_r=1.000 |
| 208 | shapecode_2_border_g=1.000 |
| 209 | shapecode_2_border_b=1.000 |
| 210 | shapecode_2_border_a=0.100 |
| 211 | shape_2_init1=ang = 0; |
| 212 | shape_2_per_frame1=vol=bass+mid+treb; |
| 213 | shape_2_per_frame2=dang = ang + q1; |
| 214 | shape_2_per_frame3=ang = q1; |
| 215 | shape_2_per_frame4=bsides = 3 + int(6 * q2); |
| 216 | shape_2_per_frame5= |
| 217 | shape_2_per_frame6=x = vol-.75; |
| 218 | shape_2_per_frame7=y = vol+.75; |
| 219 | shapecode_3_enabled=1 |
| 220 | shapecode_3_sides=4 |
| 221 | shapecode_3_additive=0 |
| 222 | shapecode_3_thickOutline=1 |
| 223 | shapecode_3_textured=1 |
| 224 | shapecode_3_num_inst=1 |
| 225 | shapecode_3_x=0.750 |
| 226 | shapecode_3_y=0.750 |
| 227 | shapecode_3_rad=0.99595 |
| 228 | shapecode_3_ang=0.00000 |
| 229 | shapecode_3_tex_ang=0.00000 |
| 230 | shapecode_3_tex_zoom=1.00000 |
| 231 | shapecode_3_r=1.000 |
| 232 | shapecode_3_g=0.000 |
| 233 | shapecode_3_b=0.000 |
| 234 | shapecode_3_a=1.000 |
| 235 | shapecode_3_r2=0.000 |
| 236 | shapecode_3_g2=1.000 |
| 237 | shapecode_3_b2=0.000 |
| 238 | shapecode_3_a2=0.000 |
| 239 | shapecode_3_border_r=1.000 |
| 240 | shapecode_3_border_g=1.000 |
| 241 | shapecode_3_border_b=1.000 |
| 242 | shapecode_3_border_a=0.100 |
| 243 | shape_3_init1=ang = 0; |
| 244 | shape_3_per_frame1=vol=bass+mid+treb; |
| 245 | shape_3_per_frame2=ang = q3; |
| 246 | shape_3_per_frame3=dang = ang - q1; |
| 247 | shape_3_per_frame4=bsides = 3 + int(6 * q2); |
| 248 | shape_3_per_frame5=x = -vol+.75; |
| 249 | shape_3_per_frame6=y = -vol+.25; |
| 250 | per_frame_init_1=max_bass = 1.2; |
| 251 | per_frame_1=vol=bass+mid+treb; |
| 252 | per_frame_2=wave_r = mv_b; |
| 253 | per_frame_3=wave_b = mv_g; |
| 254 | per_frame_4=wave_g = mv_r; |
| 255 | per_frame_5=b=max(bass-1,0); |
| 256 | per_frame_6=m=max(mid-1,0); |
| 257 | per_frame_7=t=max(treb-1,0); |
| 258 | per_frame_8=mv_r=.6*abs(sin(time*2.6+1.23+cos(time*4.87+2.145)))+(b/30); |
| 259 | per_frame_9=mv_g=.6*abs(sin(time*4.451+2.89+cos(time*3.74+.78)))+(m/30); |
| 260 | per_frame_10=mv_b=.6*abs(sin(time*3.845+1.23+cos(time*2.6+3)))+(t/30); |
| 261 | per_frame_11= |
| 262 | per_frame_12=q1=(3.14*cos(time*1.45 + 1.54 + cos((vol*.1)+time+ 3.22))); |
| 263 | per_frame_13=q2=(3.14*cos(time*2.4 + 2.69 + cos((vol*.1)+time+.65))); |
| 264 | per_frame_14=q3=time%50; |
| 265 | per_frame_15=f=if(equal(endframe,0),1,0); |
| 266 | per_frame_16=beat_avg=if(equal(beat_avg,0),bass,beat_avg); |
| 267 | per_frame_17=beat_avg=(beat_avg+bass)/2; |
| 268 | per_frame_18= |
| 269 | per_frame_19=max_bass = if( beat*above(f*bass_att,max_bass),0.99*bass_att, max_bass ); |
| 270 | per_frame_20=max_bass = if( equal(frame%3000,0),0.8*max_bass,max_bass*.9999); |
| 271 | per_frame_21=max_bass=if( above(max_bass,10*beat_avg),10*beat_avg,max_bass); |
| 272 | per_frame_22=trig=if( equal(beat,1)*above(bass_att,max_bass),1,0); |
| 273 | per_frame_23=endframe=if(equal(trig,1)*equal(endframe,0), frame+4*min(interval,FPS),endframe); |
| 274 | per_frame_24=trig=if(equal(frame,endframe),0,trig); |
| 275 | per_frame_25=endframe=if(above(frame,endframe),0,endframe); |
| 276 | per_frame_26=q4=if(above(endframe,0),1,0); |
| 277 | per_frame_27=wave_a=0; |
| 278 | per_frame_28=rot=.1*sin(time*1.53+cos(time*4.676+3.43)); |
| 279 | per_frame_29=rot=rot*(1+.4*q4); |
| 280 | per_frame_30=ob_size=.3+.7*abs(cos(time*2.45 + 1.566 +sin(time*5 +2.43))); |
| 281 | per_frame_31= |
| 282 | per_frame_32=ob_r=mv_r*(int(rand(100))/100); |
| 283 | per_frame_33=ob_g=mv_g*(int(rand(100))/100); |
| 284 | per_frame_34=ob_b=mv_b*(int(rand(100))/100); |
| 285 | per_frame_35=ob_a=.05*abs(cos(time*2.45 + 1.566 +sin(time+2))); |
| 286 | per_frame_36= |
| 287 | per_frame_37= |
| 288 | per_frame_38= |
| 289 | per_frame_39= |
| 290 | per_frame_40= |
| 291 | per_frame_41= |
| 292 | per_frame_42= |
| 293 | per_frame_43= |
| 294 | per_frame_44= |
| 295 | per_frame_45=mv_x=if(equal(q4,1),54+10*cos(time*10),64); |
| 296 | per_frame_46= |
| 297 | per_frame_47= |
| 298 | per_frame_48=zoom=if(equal(int(rand(40+60*(q4))),25),1.6,zoom); |
| 299 | per_frame_49=// -------------------------------- Beat Detective 007 ---------------------------------- |
| 300 | per_frame_50=sure=if(equal(sure,0),.6,sure); |
| 301 | per_frame_51=interval=if(equal(interval,0),40,interval); |
| 302 | per_frame_52=lastbeat=if(equal(lastbeat,0),frame-FPS,lastbeat); |
| 303 | per_frame_53=dbass=(bass-pbass)/FPS; |
| 304 | per_frame_54=beat=above(dbass,.6*maxdbass)*above(frame-lastbeat,FPS/3); |
| 305 | per_frame_55=sure=if(beat*below(abs(frame-(interval+lastbeat)),FPS/5), |
| 306 | per_frame_56=min(.095+sure,1),beat*(sure-.095)+(1-beat)*sure*.9996); |
| 307 | per_frame_57=sure=max(.5,sure); |
| 308 | per_frame_58=cheat=if(above(frame,lastbeat+interval+ int(FPS/10))*above(sure,.91),1,cheat); |
| 309 | per_frame_59=beat=if(cheat,1,beat); |
| 310 | per_frame_60=sure=if(cheat,.95*sure,sure); |
| 311 | per_frame_61=maxdbass=max(maxdbass*.999,dbass); |
| 312 | per_frame_62=maxdbass=max(.012,maxdbass); |
| 313 | per_frame_63=maxdbass=min(.02,maxdbass); |
| 314 | per_frame_64=interval=if(beat, frame-lastbeat,interval); |
| 315 | per_frame_65=lastbeat=if(beat,frame-cheat*int(FPS/10),lastbeat); |
| 316 | per_frame_66=cheat=0; |
| 317 | per_frame_67=pbass=bass; |
| 318 | per_frame_68=// ---------------------------------------------------------------------------------------------- |
| 319 | per_frame_69= |
| 320 | per_frame_70=zoom = if(equal(beat,1),zoom+bass*.7,zoom); |
| 321 | per_frame_71=monitor=sx; |
| 322 | per_frame_72=//monitor=60*FPS/interval; |
| 323 | per_pixel_1=dx= if( below( abs(ang-q1), .4*sqrt(rad)),dx+(1-q4)*(.02*rad*sin(q1)),dx); |
| 324 | per_pixel_2=dy=if( below(abs(ang-q1),.4*sqrt(rad)),dy+(1-q4)*(.02*rad*cos(q1)),dy); |
| 325 | per_pixel_3=zoom=if(below( abs(ang-q1),.4*sqrt(rad)),zoom+(1-q4)*(.2*rad*bass),zoom); |
| 326 | per_pixel_4= |
| 327 | per_pixel_5=dx= if( below( abs(ang-q2), .4*sqrt(rad)),dx+(1-q4)*(.02*rad*sin(q2)),dx); |
| 328 | per_pixel_6=dy = if(below( abs(ang-q2),.4*sqrt(rad)),dy+(1-q4)*(.02*rad*cos(q2)),dy); |
| 329 | per_pixel_7=zoom = if(below(abs(ang-q2),.4*sqrt(rad)),zoom+(1-q4)*(.2*rad*bass), zoom); |
| 330 | per_pixel_8=zoom=zoom-(1-q4)*.04*rad +q4*.1; |
| 331 | warp_1=`shader_body |
| 332 | warp_2=`{ |
| 333 | warp_3=` // sample previous frame |
| 334 | warp_4=` ret = tex2D( sampler_pw_main, uv ).xyz; |
| 335 | warp_5=` |
| 336 | warp_6=` float n; |
| 337 | warp_7=` float2 d = texsize.zw*1; |
| 338 | warp_8=` n = saturate(tex2D(sampler_pw_main, uv+d*float2( 0, 1)).x*999); |
| 339 | warp_9=` n += saturate(tex2D(sampler_pw_main, uv+d*float2( 1,-1)).x*999); |
| 340 | warp_10=` n += saturate(tex2D(sampler_pw_main, uv+d*float2( 1,-1)).x*999); |
| 341 | warp_11=` n += saturate(tex2D(sampler_pw_main, uv+d*float2( 0, 1)).x*999); |
| 342 | warp_12=` n += saturate(tex2D(sampler_pw_main, uv+d*float2( 1,-1)).x*999); |
| 343 | warp_13=` n += saturate(tex2D(sampler_pw_main, uv+d*float2(-0, 1)).x*999); |
| 344 | warp_14=` n += saturate(tex2D(sampler_pw_main, uv+d*float2(-1, 0)).x*999); |
| 345 | warp_15=` n += saturate(tex2D(sampler_pw_main, uv+d*float2(-1,-1)).x*999); |
| 346 | warp_16=` |
| 347 | warp_17=` if (n < 1.5) |
| 348 | warp_18=` ret = 0; |
| 349 | warp_19=` if (n > 3.5) |
| 350 | warp_20=` ret = 0; |
| 351 | warp_21=` if (ret.x < 0.1 && abs(n-3) < 0.5) |
| 352 | warp_22=` ret = 1; |
| 353 | warp_23=` |
| 354 | warp_24=` // darken (decay) over time |
| 355 | warp_25=` // ret = (ret - 0.016)*0.985; |
| 356 | warp_26=`} |
| 357 | comp_1=` |
| 358 | comp_2=`sampler sampler_pw_noise_lq; |
| 359 | comp_3=`shader_body |
| 360 | comp_4=`{ |
| 361 | comp_5=` |
| 362 | comp_6=`float corr = texsize.xy*texsize_noise_hq.zw; |
| 363 | comp_7=`float2 p0 = .5 + float2(q1,q2); |
| 364 | comp_8=` |
| 365 | comp_9=`float2 uv1 = (uv-p0)*aspect.xy; |
| 366 | comp_10=`float ang1 = atan2(uv1.y, uv1.x); |
| 367 | comp_11=` |
| 368 | comp_12=`float rad2 = length(uv1); |
| 369 | comp_13=`float rad1 = -1*rad2 + 0.05/(rad2-0.08); |
| 370 | comp_14=` |
| 371 | comp_15=`float2 uv2 = float2 (ang1/6.28, clamp(rad1,-8, 8)); |
| 372 | comp_16=`uv2.y = uv2.y/2 + time/2; |
| 373 | comp_17=` |
| 374 | comp_18=`float3 tube = lum(tex2D(sampler_noise_hq, corr*uv2)); |
| 375 | comp_19=`//tube = sqrt(abs (tube-.8)); |
| 376 | comp_20=` |
| 377 | comp_21=` |
| 378 | comp_22=`float2 uv3 = uv + tube/64; |
| 379 | comp_23=`double3 blur = lum(GetBlur1 (uv3)); |
| 380 | comp_24=`double3 crisp =(GetPixel(uv3)); |
| 381 | comp_25=` |
| 382 | comp_26=`double3 ret2 = crisp + blur; |
| 383 | comp_27=` |
| 384 | comp_28=`double3 lblue = float3 (0.3, 0.5, 1)/3 *(1-rad); |
| 385 | comp_29=`ret2 = ret2 + lblue; |
| 386 | comp_30=` |
| 387 | comp_31=`ret = -1*tube*rad + (1+q24/4)*ret2 * (1-tube/2); |
| 388 | comp_32=`} |